//
//  singerActionView.m
//  A段项目音乐播放
//
//  Created by 太阳 on 15/5/22.
//  Copyright (c) 2015年 lanou3g.com蓝鸥科技. All rights reserved.
//

#import "singerActionView.h"

@implementation singerActionView
- (void)dealloc
{
    [super dealloc];
}
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {

    }
    return self;
}
- (void)clickedWithBlock:(void(^)(NSInteger temp))blocck
{
    self.actionBlock = blocck;
}
- (void)block:(NSNumber *)ID
{
    self.actionBlock([ID integerValue]);
}
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
    [self performSelector:@selector(block:) withObject:@(self.ID)];
}

@end
